package com.hzvictory.hotel_system.pojo.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hzvictory.hotel_system.common.core.domain.BaseEntity;

/**
 * 功能
 * 作者：何征
 * 日期：2025/8/11 21:38
 */
/**
 * 项目资源URL对象 project_resources
 *
 * @author hzvictory
 * @date 2025-08-11
 */
public class ProjectResources extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 项目名称 */
    //@Excel(name = "项目名称")
    private String projectName;

    /** Vue前端项目URL */
    //@Excel(name = "Vue前端项目URL")
    private String vueUrl;

    /** SpringBoot后端项目URL */
    //@Excel(name = "SpringBoot后端项目URL")
    private String springbootUrl;

    /** SQL脚本资源URL */
    //@Excel(name = "SQL脚本资源URL")
    private String sqlUrl;

    /** 项目描述 */
    //@Excel(name = "项目描述")
    private String description;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    //@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    //@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** 是否有效：1-有效，0-无效 */
    //@Excel(name = "是否有效：1-有效，0-无效")
    private Long isValid;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setProjectName(String projectName)
    {
        this.projectName = projectName;
    }

    public String getProjectName()
    {
        return projectName;
    }

    public void setVueUrl(String vueUrl)
    {
        this.vueUrl = vueUrl;
    }

    public String getVueUrl()
    {
        return vueUrl;
    }

    public void setSpringbootUrl(String springbootUrl)
    {
        this.springbootUrl = springbootUrl;
    }

    public String getSpringbootUrl()
    {
        return springbootUrl;
    }

    public void setSqlUrl(String sqlUrl)
    {
        this.sqlUrl = sqlUrl;
    }

    public String getSqlUrl()
    {
        return sqlUrl;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }

    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }

    public void setUpdatedTime(Date updatedTime)
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime()
    {
        return updatedTime;
    }

    public void setIsValid(Long isValid)
    {
        this.isValid = isValid;
    }

    public Long getIsValid()
    {
        return isValid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("projectName", getProjectName())
                .append("vueUrl", getVueUrl())
                .append("springbootUrl", getSpringbootUrl())
                .append("sqlUrl", getSqlUrl())
                .append("description", getDescription())
                .append("createdTime", getCreatedTime())
                .append("updatedTime", getUpdatedTime())
                .append("isValid", getIsValid())
                .toString();
    }
}
